﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="users.aspx.cs" Inherits="admin_users" Title="无标题页" %>
<%@ Import Namespace="System.Data" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <h1 class="admin-position"><b>当前位置->用户管理->用户列表</b></h1>
 <table cellpadding="0" cellspacing="0" class="admin-list-table">
    <thead>
        <tr>
            <th style=" width:40px; height: 25px;"></th>
            <th style="height: 25px">用户编号</th>
            <th style="height: 25px">用户名</th>
            <th style="width: 219px; height: 25px">用户密码</th>
            <th style="height: 25px">用户姓名</th>
            <th style="height: 25px">创建时间</th>
            <th style="height: 25px">更新时间</th>
            <th style="height: 25px">管理</th>
        </tr>
    </thead>
    <tbody>
        <asp:Repeater ID="repeater1" runat="server">
        <ItemTemplate>
        <tr>
            <td style=" width:40px; text-align:center;"><input type="checkbox" name="id[]" value="<%# ((DataRowView)Container.DataItem)["id"] %>"/></td>
            <td><%# ((DataRowView)Container.DataItem)["id"] %></td>
            <td><%# ((DataRowView)Container.DataItem)["username"] %></td>
            <td>******</td>
            <td><%# ((DataRowView)Container.DataItem)["name"]%></td>
            <td><%# ((DataRowView)Container.DataItem)["createtime"] %></td>
            <td><%# ((DataRowView)Container.DataItem)["lastlogintime"] %></td>
            <td><a href="users/update.aspx?id=<%# ((DataRowView)Container.DataItem)["id"] %>">详情</a></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
    </tbody>
    
 </table>
    
</asp:Content>
